package routers

import (
	"github.com/astaxie/beego"
	"learn_beego/controllers"
)

func init() {
	beego.Router("/v1/user/query", &controllers.UserController{}, "*:QueryByName")
	beego.Router("/v1/user/save", &controllers.UserController{}, "*:Save")
	beego.Router("/v1/user/page", &controllers.UserController{}, "*:QueryByPage")
}
